/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.web30.feed;

import com.sun.syndication.feed.rss.Item;
import com.sun.syndication.feed.synd.SyndContent;
import com.sun.syndication.feed.synd.SyndEntry;
import com.sun.syndication.feed.synd.impl.ConverterForRSS20;

/**
 *
 * @author xiazy
 */
public class RSSConvert extends ConverterForRSS20{

    public Item convertRSSItem(SyndEntry sEntry){
        Item item = this.createRSSItem(sEntry);
        SyndContent content = (SyndContent) sEntry.getContents().get(0);
        if(content == null)
            return item;
        return item;
    }

}
